/*
 * Copyright (c) 2021 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
.recommend-container {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.recommend-header {
  display: flex;
  padding: 10px 0px;
  align-items: center;
  justify-content: space-between;
}

.recommend-title {
  font-size: 32px;
  color: #1A1A1A;
  height: 70px;
  line-height: 70px;
}

.recommend-more-img {
  display: flex;
  align-items: center;
}

.recommend-more {
  font-size: 28px;
  color: #D2691E;
}

.recommend-header-image {
  height: 25px;
  width: 20px;
  object-fit: contain;
}

.recommend-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}

.recommend-box-alone {
  display: flex;
  flex-direction: column;
  width: 33%;
  height: 350px;
  justify-content: center;
  align-items: center;
}

.recommend-img-wrapper {
  position: relative;
  width: 100%;
  height: 70%;
}

.recommend-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.recommend-good-name {
  font-size: 28px;
  color: #1A1A1A;
  max-lines: 2;
  /* #ifndef harmony */
  display: -webkit-box;
  /* #endif */
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
}

.recommend-price {
  font-size: 30px;
  color: #FA2A2D;
}
